<%--
  Created by IntelliJ IDEA.
  User: zhou
  Date: 2018/1/24
  Time: 22:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/receiveUser.do" method="post">
    姓名<input type="text" name="username" ><br>
    年龄<input type="text" name="age" ><br>
    性别<input type="text" name="sex" ><br>
    生日<input type="text" name="birthday" ><br>
    地址<input type="text" name="address" ><br>
    <input type="submit" value="提交">
</form>
<hr color="blue">
<form action="${pageContext.request.contextPath}/user/receiveInt.do" method="post">
    ID<input type="text" name="ss" ><br>
    <input type="submit" value="提交">
</form>

<hr color="blue">
<form action="${pageContext.request.contextPath}/user/receiveStr.do" method="post">
    姓名<input type="text" name="username"><br>
    <input type="submit" value="提交">
</form>

<hr color="blue">
<form action="${pageContext.request.contextPath}/user/receiveUserCustom.do" method="post">
    姓名<input type="text" name="user.username" ><br>
    年龄<input type="text" name="user.age" ><br>
    性别<input type="text" name="user.sex" ><br>
    生日<input type="text" name="user.birthday" ><br>
    地址<input type="text" name="user.address" ><br>
    <input type="submit" value="提交">
</form>

<hr color="blue">
<form action="${pageContext.request.contextPath}/user/receiveArray.do" method="post">
    ID:<input type="checkbox" name="ids" value="1">
    ID:<input type="checkbox" name="ids" value="2">
    ID:<input type="checkbox" name="ids" value="3">
    <input type="submit" value="提交">
</form>

<hr color="blue">
<form action="${pageContext.request.contextPath}/user/receiveUserCustomList.do" method="post">
    姓名<input type="text" name="userList[0].username" ><br>
    年龄<input type="text" name="userList[0].age" ><br>
    姓名<input type="text" name="userList[1].username" ><br>
    年龄<input type="text" name="userList[1].age" ><br>
    <input type="submit" value="提交">
</form>
<hr color="blue">
<form action="${pageContext.request.contextPath}/user/receiveUserCustomMaps.do" method="post">
    姓名<input type="text" name="maps['username']" ><br>
    年龄<input type="text" name="maps['age']" ><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
